package com.cx.mall.common.model.goods;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyt
 * @since 2025-07-10
 */
@Getter
@Setter
@TableName("spu_info")
public class SpuInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * spuid
     */
      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * spu名称
     */
    @TableField("spu_name")
    private String spuName;

    /**
     * 商品描述
     */
    @TableField("description")
    private String description;

    /**
     * 三级分类id
     */
    @TableField("category_id")
    private Long categoryId;

    /**
     * 品牌id
     */
    @TableField("brand_id")
    private Long brandId;
}
